-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Use curl to download sample data instead of wget. #13761
Conversation
@mxnet-label-bot [scala] |
@mxnet-label-bot Add [Scala, pr-awaiting-review] |
@@ -27,7 +27,7 @@ else | |||
fi | |||
|
|||
# you can get the training data file using the following command | |||
# wget http://data.mxnet.io/data/char_lstm.zip | |||
# curl -O http://data.mxnet.io/data/char_lstm.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-o
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-o need a path as parameter,
-O will use file name in url and save in current directory.
@@ -28,7 +28,7 @@ fi | |||
# which gpu card to use, -1 means cpu | |||
GPU=$1 | |||
# you can get the training data file using the following command | |||
# wget http://data.mxnet.io/data/char_lstm.zip | |||
# curl -O http://data.mxnet.io/data/char_lstm.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-o
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
downloads with the same name according to the manpage. (man curl)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for your contribution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me!
Thanks for making this change :)
lgtm. |
Description
On Mac OSX, wget is conflicting with MXNet build (zlib), developer has to uninstall wget from Mac.
Current scala example script using wget to download model and images, make it difficult to mac developers.
This change to workaround this issue form Mac users.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.